using SqlSugar;

namespace ByteSite.Entitys
{
    /// <summary>
    /// 会员主表
    /// </summary>
    public class dt_users
    {
        /// <summary>
        /// 会员主表
        /// </summary>
        public dt_users()
        {
        }

        /// <summary>
        /// 自增ID
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public System.Int32 id { get; set; }

        /// <summary>
        /// 站点ID
        /// </summary>
        public System.Int32? site_id { get; set; }

        /// <summary>
        /// 用户组ID
        /// </summary>
        public System.Int32? group_id { get; set; }

        /// <summary>
        /// 用户名
        /// </summary>
        public System.String user_name { get; set; }

        /// <summary>
        /// 6位随机字符串,加密用到
        /// </summary>
        public System.String salt { get; set; }

        /// <summary>
        /// 用户密码
        /// </summary>
        public System.String password { get; set; }
        /// <summary>
        /// 身份证号码
        /// </summary>
        public System.String identity_no { get; set; }

        /// <summary>
        /// 手机号码
        /// </summary>
        public System.String mobile { get; set; }

        /// <summary>
        /// 电子邮箱
        /// </summary>
        public System.String email { get; set; }

        /// <summary>
        /// 用户头像
        /// </summary>
        public System.String avatar { get; set; }

        /// <summary>
        /// 用户昵称
        /// </summary>
        public System.String nick_name { get; set; }

        /// <summary>
        /// 性别
        /// </summary>
        public System.String sex { get; set; }

        /// <summary>
        /// 生日
        /// </summary>
        [Newtonsoft.Json.JsonConverter(typeof(Common.TcDateTimeConverter))]
        public System.DateTime? birthday { get; set; }

        /// <summary>
        /// 电话
        /// </summary>
        public System.String telphone { get; set; }

        /// <summary>
        /// 所属地区逗号分隔
        /// </summary>
        public System.String area { get; set; }

        /// <summary>
        /// 详情地址
        /// </summary>
        public System.String address { get; set; }

        /// <summary>
        /// QQ号码
        /// </summary>
        public System.String qq { get; set; }
        /// <summary>
        /// 微信
        /// </summary>
        public System.String wechat { get; set; }

        /// <summary>
        /// MSN号码
        /// </summary>
        public System.String msn { get; set; }

        /// <summary>
        /// 账户余额
        /// </summary>
        public System.Decimal? amount { get; set; }

        /// <summary>
        /// 账户积分
        /// </summary>
        public System.Int32? point { get; set; }

        /// <summary>
        /// 升级经验值
        /// </summary>
        public System.Int32? exp { get; set; }

        /// <summary>
        /// 账户状态,0正常,1待验证,2待审核,3锁定
        /// </summary>
        public System.Int32? status { get; set; }

        /// <summary>
        /// 注册时间
        /// </summary>
        [Newtonsoft.Json.JsonConverter(typeof(Common.TcDateTimeConverter))]
        public System.DateTime? reg_time { get; set; }

        /// <summary>
        /// 注册IP
        /// </summary>
        public System.String reg_ip { get; set; }
        /// <summary>
        /// 标签
        /// </summary>
        public System.String tags { get; set; }
    }
}